Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

control center cdap #8

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from
Open

Conversation

priyabhatnagar25
Copy link
Collaborator

ControlCenter cdap-feature file

Then Close the pipeline logs
Then Click on the Hamburger bar on the left panel
Then Click on Control Center link from the hamburger menu
Then Verify the pipeline created by add button is succeeded successfully and is present in control center page
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Change it to "Verify the pipeline created successfully is present in control center page"

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changed to Verify the pipeline created successfully is present in control center page

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

All attributes should be control center related , Same in case of error message and pluginParam . Change if there is any common key value pair in all 4 modules which can be user as generic

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

ok all the attributes are contol center related

@RunWith(Cucumber.class)
@CucumberOptions(
features = {"src/e2e-test/features"},
glue = {"io.cdap.cdap.controlcenter.stepsdesign", "stepsdesign", "io.cdap.plugin.bigquery.stepsdesign"},
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why is BigQuery glue added? please remove

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

removed the glue

public static String bqSourceTable = StringUtils.EMPTY;
public static String datasetName = PluginPropertyUtils.pluginProp("dataset");

@Before(order=1 ,value = "@BQ_INSERT_INT_SOURCE_TEST")
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add the after hook for this before hook.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

added the hook


@Before(order=1 ,value = "@BQ_INSERT_INT_SOURCE_TEST")
public static void createSourceBQTable() throws IOException, InterruptedException {
bqSourceTable = "E2E_TARGET_" + UUID.randomUUID().toString().replaceAll("-", "_");
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This should be source table right?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

CHANGED TO source

@@ -3,3 +3,7 @@ clientUrl=http://localhost:11011
serverUrl=https://placeholder.com/api
# command to generate token: gcloud auth print-access-token
serverAccessToken=placeholder
bqSourceTable=dummy
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Add start and end comments for control center feature

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Added the comments

@priyabhatnagar25 priyabhatnagar25 force-pushed the controlcenter_e2e branch 3 times, most recently from 6570b17 to 0df4133 Compare October 27, 2023 09:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants